
package Controleur;
import Modele.UpdateHistoryReceiver;
import minipad.UpdateViewReceiver;
/**
 * @author David Phung, Michel Fraser
 */
abstract class CommandAbstract {

    protected UpdateViewReceiver v_receive;
    protected UpdateHistoryReceiver m_receive;

    abstract public void execute();

    public CommandAbstract(UpdateViewReceiver v_receive, UpdateHistoryReceiver m_receive) {
        this.v_receive = v_receive;
        this.m_receive = m_receive;
    }

    public void setV_receive(UpdateViewReceiver v_receive) {
        this.v_receive = v_receive;
    }

    public void setM_receive(UpdateHistoryReceiver m_receive) {
        this.m_receive = m_receive;
    }

}
